import http from '../request'

export default {
  async getSongListDetail(id) {
    return await http.get('/getSongListDetail?disstid=' + id)
  },
  async batchGetSongLists({ limit, page, sortId, categoryIds }) {
    return await http.post('/batchGetSongLists', { limit, page, sortId, categoryIds })
  },
  async getSongLists(id) {
    return await http.get('/getSongLists?categoryId=' + id)
  },
  // 歌曲播放链接
  async getMusicPlay(mid) {
    return await http.get('/getMusicVKey?songmid=' + mid)
  },
  // 歌词链接
  async getLyric(mid) {
    return await http.get('/getLyric?songmid=' + mid)
  }

}
